package org.example.userservice;

import org.example.pojo.PageBean;
import org.example.pojo.entity.Order;
import org.example.pojo.entity.SaleLog;
import org.example.pojo.userdto.OrderCheckDTO;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ShoppingService {

    boolean order(int addressid);

    void pay(Order order);


    PageBean getOrder(OrderCheckDTO orderCheckDTO);
}
